package com.epoint.clubmanagement.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Title: ClubVO
 * Description:
 *
 * @author sqn
 * @version 1.0.0
 * @date 2021/3/20 0020 上午 11:05
 */
@Data
public class ClubVO implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 类型编号
     */
    @TableField(value = "type_id")
    @ApiModelProperty(value = "俱乐部类型编号")
    private Integer typeId;

    /**
     * 俱乐部名称
     */
    @TableField(value = "club_name")
    @ApiModelProperty(value = "俱乐部名称")
    private String clubName;

    /**
     * 类型名称
     */
    @TableField(value = "type_name")
    @ApiModelProperty(value = "俱乐部类型名称")
    private String typeName;

    /**
     * 俱乐部负责人
     */
    @TableField(value = "club_leader")
    @ApiModelProperty(value = "俱乐部负责人")
    private String clubLeader;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "createtime")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 活动次数
     */
    @TableField(value = "number_of_activities")
    @ApiModelProperty(value = "活动次数")
    private Integer numberOfActivities;

    /**
     * 会员数量
     */
    @TableField(value = "number_of_members")
    @ApiModelProperty(value = "会员数量")
    private Integer numberOfMembers;

}
